package com.power.sifa.statistics.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.plf.common.domain.YesNo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MarkPointVO {

    /**
     * 预警信息id或人员id
     */
    private String id;

    /**
     * 对应公安数据id
     */
    private Integer gaid;

    /**
     * 轨迹id
     */
    private String traceId;

    /**
     * 拍摄时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rectime;

    /**
     * 纬度
     */
    private String lat;

    /**
     * 经度
     */
    private String lng;

    /**
     * 是否违规
     */
    private Integer isViolation = YesNo.NO;

    /**
     * 违规类型
     */
    private String type;

    /**
     * 规则名称
     */
    private String rulename;
}
